import React from 'react';

const Children = (props) => {
    const {extraProp} = {...props}
    return (
        <div>
            <h4>子组件</h4>
            <div>传递过来的数据 ==> {extraProp}</div>
        </div>
    );
};

export default Children;